package com.sumi.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 虚拟仓库对象 base_virtual_warehouse
 * 
 * @author fgf67@163.com
 * @date 2024-06-28
 */
public class BaseVirtualWarehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 虚拟仓库id */
    private Long id;

    /** 仓库组id */
    @Excel(name = "仓库组id")
    private Long groupId;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseKey;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setWarehouseKey(String warehouseKey) 
    {
        this.warehouseKey = warehouseKey;
    }

    public String getWarehouseKey() 
    {
        return warehouseKey;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("warehouseKey", getWarehouseKey())
            .append("warehouseName", getWarehouseName())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .toString();
    }
}
